package org.spring.springboot.app.agent.withdraw.service;

import org.spring.springboot.app.agent.withdraw.dao.AccountWithdrawMapper;
import org.spring.springboot.app.agent.withdraw.domain.po.AccountWithdrawPO;
import org.spring.springboot.app.agent.withdraw.domain.vo.AccountWithdrawVO;
import org.spring.springboot.app.agent.withdraw.domain.vo.SeachWithdrawVO;
import org.spring.springboot.app.base.R;

import java.util.List;

public interface IAccountWithdrawService {
    /**
     *
     * @param seachVo
     * @return
     */
    List<AccountWithdrawPO>  findAll(SeachWithdrawVO seachVo);

    /**
     *
     * @param id
     * @return
     */
    AccountWithdrawPO find(String id);

    /**
     *
     * @param vo
     * @return
     */
    R save(AccountWithdrawVO vo);

    /**
     *
     * @param vo
     * @return
     */
    R update(AccountWithdrawVO vo);
}
